package org.example.service;

import org.example.entity.Major;
import org.example.entity.Teachers;

import java.util.List;

public interface TeaService {
    int add(Teachers teachers);

    int delete(Long tid);

    int update(Teachers teachers);

    Teachers get(Long tid);

    List<Teachers> getList(Teachers teachers);

    List<Major> getAll();
}
